<?php echo $header; ?>
<?php if ($success) { ?>
<div class="success"><?php echo $success; ?></div>
<?php } ?>
<div id="content">
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <h1><?php echo $heading_title; ?></h1>
  
  <?php if ($abstracts) { ?>
  <div class="abstractlist-info">
    <table>
      <thead>
        <tr>
          <td class="id"><?php echo $column_id; ?></td>
          <td class="title"><?php echo $column_title; ?></td>
          <td class="action"><?php echo $column_action; ?></td>
        </tr>
      </thead>
      <?php foreach ($abstracts as $abstract) { ?>
      <tbody id="abstractlist-row<?php echo $abstract['abstract_id']; ?>">
        <tr>
          <td class="id"><?php echo $abstract['abstract_id']; ?></td>
          <td class="title"><?php echo $abstract['title']; ?></td>
          <td class="action">
          	[<a href="<?php echo $abstract['edit']; ?>"><?php echo $button_edit_abstract; ?></a>]
          	&nbsp;
          	[<a href="<?php echo $abstract['delete']; ?>"><?php echo $button_delete_abstract; ?></a>]
          </td>
        </tr>
      </tbody>
      <?php } ?>
    </table>
  </div>
  <?php } ?>
  <div class="buttons">
     <div class="right">
       <div class="right"><a href="<?php echo $add; ?>" class="button"><?php echo $button_add_abstract; ?></a></div>
     </div>
  </div>
</div>
